---
title: Chart.ApplyChartTemplate Method (Project)
ms.prod: project-server
ms.assetid: ed449d73-6cae-6d54-de97-617612cd9129
ms.date: 06/08/2017
---


# Chart.ApplyChartTemplate Method (Project)
Applies a standard or custom chart type to a chart.

## Syntax

 _expression_. **ApplyChartTemplate** _(bstrFileName)_

 _expression_ A variable that represents a **Chart** object.


### Parameters



|**Name**|**Required/Optional**|**Data type**|**Description**|
|:-----|:-----|:-----|:-----|
|||||
| _bstrFileName_|Required|**String**|The file name for a chart template.|
| _bstrFileName_|Required|STRING||

### Return value

 **Nothing**


## See also


#### Other resources


[Chart Object](chart-object-project.md)
